/*
 * @Author: songxiang songxiang0806@qq.com
 * @Date: 2025-08-21 11:17:18
 * @LastEditors: songxiang songxiang0806@qq.com
 * @LastEditTime: 2025-09-01 10:33:28
 * @FilePath: \supermap-webgl\src\views\top-menus\use-top-menus.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/*
 * @Author: songxiang songxiang0806@qq.com
 * @Date: 2025-08-21 11:17:18
 * @LastEditors: songxiang songxiang0806@qq.com
 * @LastEditTime: 2025-08-28 16:49:13
 * @FilePath: \supermap-webgl\src\views\top-menus\use-top-menus.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import { onMounted } from 'vue'
import { useTopMenusStore } from '/@src/store/top-menus/top-menus'

export default function () {
  const useMenuStore = useTopMenusStore()
  /**
   * 菜单
   */
  const menus = [
    {
      component: 'measure',
      desc: '量算'
    },
    {
      component: 'model-edit',
      desc: '定量模型对比更新'
    },
    {
      component: 'point-cloud-theme',
      desc: '电力点云数据特征看版'
    },
    {
      component: 'viewshed',
      desc: '辅助监控选址'
    },
    {
      component: 'layer-clip',
      desc: '行政区数据控制'
    },
    {
      component: 'high-realism',
      desc: '天气仿真'
    }
  ]
  onMounted(() => {
    // useMenuStore.setMenu('layer-manager')
  })
  return { menus }
}
